<?php
include_once 'head.php';

$pid            = isset( $_GET['pid'] )?$_GET['pid'] : $_SESSION['pid'] ;
$patientHandler = new PatientHandler();
$patient        = $patientHandler->getPatient($pid);

  ?>

<table class="tg">
  <tr><th class="thg">
  <table class="tpt">
    <tr>
      <td><img src= <?php $sex = $patient->sex; if ($sex == 'M'){print "'img/male.gif'";} if ($sex == 'F'){print "'img/female.gif'";} ?> /></td>
      <td class="ptn"><?php echo $patient->firstName; ?></td>
      <td class="ptn"><?php echo $patient->middleName;  ?></td>
      <td class="pto"><?php echo $patient->lastName; ?></td>
      <td class="pto"></td>
        <td class="un"><?php echo $patient->code; ?></td>
      </tr>
    </table>
    </th></tr>
    <tr><td class="tdw">
            
            <div id="tabs_wrapper">
	<div id="tabs_container">
		<ul id="tabs">
			<li ><a href="patient-personal.php">Personal</a></li>
			<li class="active"><a  href="patient-gis.php">GIS</a></li>
			<li ><a href="patient-growth.php">Growth</a></li>
            <li><a href="patient-immunization.php">Immunization</a></li>
            <li><a href="#tab5">Visits</a></li>
            <li><a href="#tab6">Investigations</a></li>
            <li><a href="#tab7">Imaging</a></li>
            <li><a href="#tab8">Surgical</a></li>
            <li><a href="#tab9">Tretment</a></li>
		</ul>
	</div>
	<div id="tabs_content_container">
		<div id="tab1" class="tab_content" style="display: block;">
			  <p> Under Construction</p> 
		</div>
		
	</div>
</div>


  

  <?php

include_once 'foot.php';
?>